﻿using System;
using System.Net;

namespace ServerASISTSYS.Framework
{
    public struct SocksProxy
    {
        public IPAddress host;
        public ushort port;
        public string username, password;

        public SocksProxy(String hostname, ushort port, String username, String password)
        {
            this.port = port;
            //host = Dns.GetHostByName(hostname).AddressList[0];
            host = Dns.GetHostEntry(hostname).AddressList[0];
            this.username = username; this.password = password;
        }
    }
}
